# 单双引号
s = 'str'
s1 = "str1"

# 反斜杠转义或用单双嵌套
s2 = 'I\'m a student'
s3 = "I'm  a student"

# 原始字符串，一个原始字符串不能以奇数个 \ 字符结束
print(r'C:\some\name')

# 跨行字符串
print("""\
Usage: thingy [OPTIONS]
     -h                        Display this usage message
     -H hostname               Hostname to connect to
""")

# + 合并
print("your" + "computer")
# * 重复
print("my" * 2)

# 字符串字面值  自动合并
print('Py' 'thon')

# 拼接分隔开的长字符
text = ('Put several strings within parentheses '
        'to have them joined together.')
print(text)
print(type(text))

